package com.dk.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-11-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_auction_order")
@ApiModel(value="TAuctionOrder对象", description="")
public class TAuctionOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "拍卖商品ID")
    private Long auctionId;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal money;

    @ApiModelProperty(value = "用户")
    private Long adminId;

    @ApiModelProperty(value = "商家")
    private Long sellerId;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "拍卖人地址")
    private String auctionAddress;

    @ApiModelProperty(value = "拍卖人电话")
    private String auctionMobile;

    @ApiModelProperty(value = "拍卖人")
    private String auction;

    @ApiModelProperty(value = "交易流水")
    private String transactionId;

    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    @ApiModelProperty(value = "版本")
    private Integer version;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @TableField(exist = true)
    private String outTradeNo;
}
